-- XSD schema extracted from ITU-T H.627 (08/2020)
<?xml version="1.0" encoding="utf-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema">
<choice maxOccurs="unbounded">
<element name="Response">
<complexType>
<sequence>
<!-- The query request response message is shown as follows.-->
<!-- Command type: cruise track query (required) -->
<element name="CmdType" fixed="CruiseTrackQuery"/>
<!-- Command serial number (required) -->
<element name="SN" type="integer" minInclusive="1"/>
<!-- Target device code (required) -->
<element name="DeviceID" type="deviceIDType"/>
<!-- Track number (required)-->
<element name="Number" type="integer"/>
<!-- Track name, up to 32 bytes (optional)-->
<element name="Name" type="integer" minOccurs="0"/>
<!--Total number of results (required) -->
<element name="SumNum" type="integer"/>
<!-- Track point list (optional) -->
<element name="CruisePointList" minOccurs="0">
<complexType>
<!-- The number of track points, when the cruise track is not configured, the value is 0 (required) -->
<attribute name="Num" type="integer"/>
<choice minOccurs="0" maxOccurs="unbounded">
<!-- Track point information -->
<element name="CruisePoint">
<complexType>
<sequence>
<!-- Preset number (required)-->
<element name="PresetIndex" type="integer"/>
<!-- Preset point stay time, unit: second (required)-->
<element name="StayTime" type="integer"/>
<!-- PTZ speed: 1 to 15 (required)-->
<element name="Speed" type="integer"/>
</sequence>
</complexType>
</element>
</choice>
</complexType>
</element>
</sequence>
</complexType>
</element>
</choice>
</schema>